home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Periodicals / develop / develop Issue 11 / develop 11 code / The NetWork Project / How to use NetWork Processor… < prev    next >
Encoding:
Text File  |  1992-07-15  |  4.2 KB  |  62 lines  |  [ttro/ttxt]

  1.  
  2. How to use NetWork Processor…
  3.  
  4. The NetWork is part of the NetWork project. This is taken from the NetWork project documentation:
  5.  
  6.  The NetWork Project. - Distributed computing. For those in a hurry
  7.  
  8. Services and facilities provided by NetWork
  9. •    management of asynchronous distributed computing
  10. •    idle time computing
  11. •    inter-application communication
  12. •    remote launching
  13. •    transport shielding
  14. •    low level log file support
  15.  
  16. System requirements and restrictions: The Macintosh version of NetWork runs on Macintosh Plus or higher, MacOs 6.03 or better with Multifinder, or System 7, or A/UX. The basic version of NetWork can make use of any AppleTalk implementation (version 48 or higher), but only addresses in the local zone will be used. Note that on a Macintosh Plus generally you have to hand-install the required version of AppleTalk. AppleTalk version 48 is distributed on the AppleShare server installation disk. 
  17.  
  18. Getting started: Move the file NetWork Processor and the folder NetWork Tools into your system folder, and into that of any Macintosh on your AppleTalk network cooperating on NetWork experiments. Restart all Macintoshes which are to cooperate. 
  19.  
  20. You can now run the sample program “Spinning Brain” which is located in the folder “NetWork Tools”.  To develop your own software to experiment with NetWork, you have to use unit NetWork from file NetWork.p, and link with NetWorkLib.o. You can make use of the objects supplied in SchedulerUnit.p  which provide high-level access to the NetWork message system.
  21.  
  22.  
  23. Configuring NetWork Processor
  24.  
  25. The NetWork Processor can be controlled by a control panel entry. The items that can be configured are:
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48. •    “Idle minutes before NetWork may become active”: The time that must pass after the last user action until this Macintosh is available for NetWork use. Besides delays between 1 and 10 minutes, you can allow concurrent use of your Macintosh (“don´t wait”) – useful during debugging – or turn off remote use of NetWork (“never”). This last option prevents other users from creating processes on your machine. 
  49.  
  50. •    “Log errors & info”: If logging is enabled, NetWork Processor will write information to the file “NetWork.Log” in the system folder. This file is not truncated by NetWork Processor and may become huge. You should check the size of the file or delete it regularly. Note that you must turn off logging if you want to delete the file.
  51.  
  52. If a folder “Network Logs” is found in the system folder, log files will be generated in this folder.
  53.  
  54. •    “Monitor System Load”: NetWork Processor tries to detect compute intensive background tasks and prevents the machine from being considered idle if it detects any. Unfortunately there are a number of applications (for example ResEdit 2.0, AppleLink 5.1), which use a very small sleep value while in the background, and give the impression fo being active, even if there is nothing to do. When applications of this sort are running, you may want to turn off the background monitor feature of NetWork Processor. NetWork Processor may still be able to detect background load because it also monitors file IO - see "NetWork Communications" for details.
  55.  
  56. •    “Minimal User Interface”: This setting can be queried by NetWork applications using the "visible" function. It is recommended that NetWork slave applications do not display windows and the like if the user has turned this check box on. If possible, NetWork Processor launches applications behind all others if “Minimal User Interface” is checked. See NetWork Programmer´s Guide for details.
  57.  
  58. •    “Application use”: There is another check box that can be queried by applications as “spare flag”, available for experimental use.
  59.  
  60. •    “Use folder”: A path to a folder where to search for applications if NetWork is asked to launch a program. The path may be relative to the system folder or can be a full pathname (limited to 255 characters). You can enter a folder on a file server.
  61.  
  62. •    “Memory allocation (startup)”: This control allows the user to configure the message buffer size that is allocated at system startup. Unlike the other options, which take effect at once, changes will take effect after reboot. When using AppleTalk, one message amounts to about 1K. The recommendation is to allocate space for 2 messages ≈ 2K per expected communication partner.